< previous page page_viii next page >

Page viii
9f31265bb40b592b1929e18a47ab28e5.gif
Summary
130
9f31265bb40b592b1929e18a47ab28e5.gif
Review Questions
130
9f31265bb40b592b1929e18a47ab28e5.gif
Exercises
130
7
Arrays, Types, and Constants
133
9f31265bb40b592b1929e18a47ab28e5.gif
Arrays
134
9f31265bb40b592b1929e18a47ab28e5.gif
Fixed-size Arrays
135
9f31265bb40b592b1929e18a47ab28e5.gif
Dynamic Arrays
137
9f31265bb40b592b1929e18a47ab28e5.gif
Preserving Array Contents
138
9f31265bb40b592b1929e18a47ab28e5.gif
Miscellaneous Array Topics
139
9f31265bb40b592b1929e18a47ab28e5.gif
Setting Array Boundaries
139
9f31265bb40b592b1929e18a47ab28e5.gif
The Array() Function
140
9f31265bb40b592b1929e18a47ab28e5.gif
The IsArray() Function
140
9f31265bb40b592b1929e18a47ab28e5.gif
Bounds Checking
140
9f31265bb40b592b1929e18a47ab28e5.gif
Clearing an Array
141
9f31265bb40b592b1929e18a47ab28e5.gif
Multidimensional Arrays
141
9f31265bb40b592b1929e18a47ab28e5.gif
User-defined Types
143
9f31265bb40b592b1929e18a47ab28e5.gif
Constants
146
9f31265bb40b592b1929e18a47ab28e5.gif
Local Constants
146
9f31265bb40b592b1929e18a47ab28e5.gif
Module-level Constants
147
9f31265bb40b592b1929e18a47ab28e5.gif
Public Constants
148
9f31265bb40b592b1929e18a47ab28e5.gif
Built-in Constants
148
9f31265bb40b592b1929e18a47ab28e5.gif
Mathematical and Relational Operators
148
9f31265bb40b592b1929e18a47ab28e5.gif
Relational or Comparison Operators
150
9f31265bb40b592b1929e18a47ab28e5.gif
Order of Precedence
151
9f31265bb40b592b1929e18a47ab28e5.gif
Summary
152
9f31265bb40b592b1929e18a47ab28e5.gif
Review Questions
152
9f31265bb40b592b1929e18a47ab28e5.gif
Exercises
153
8
Conditional Logic and Looping
155
9f31265bb40b592b1929e18a47ab28e5.gif
If . . . Then
156
9f31265bb40b592b1929e18a47ab28e5.gif
If . . . Then . . . End If
156
9f31265bb40b592b1929e18a47ab28e5.gif
The Else Clause
157
9f31265bb40b592b1929e18a47ab28e5.gif
The ElseIf Clause
157
9f31265bb40b592b1929e18a47ab28e5.gif
The IIf() Function
158
9f31265bb40b592b1929e18a47ab28e5.gif
Select Case
159
9f31265bb40b592b1929e18a47ab28e5.gif
Compiler Directives
160
9f31265bb40b592b1929e18a47ab28e5.gif
#If . . . Then . . . #Else . . . #End If
161
9f31265bb40b592b1929e18a47ab28e5.gif
Declaring a Global Compiler Constant
162
9f31265bb40b592b1929e18a47ab28e5.gif
Declaring a Module-level Compiler Constant
162
9f31265bb40b592b1929e18a47ab28e5.gif
Looping in VB
163
9f31265bb40b592b1929e18a47ab28e5.gif
Do While
163
9f31265bb40b592b1929e18a47ab28e5.gif
While . . . Wend
164
9f31265bb40b592b1929e18a47ab28e5.gif
Loop While
165
9f31265bb40b592b1929e18a47ab28e5.gif
Do Until
165
9f31265bb40b592b1929e18a47ab28e5.gif
Loop Until
166
9f31265bb40b592b1929e18a47ab28e5.gif
For . . . Next
166
9f31265bb40b592b1929e18a47ab28e5.gif
For . . . Next Step
167
9f31265bb40b592b1929e18a47ab28e5.gif
The For . . . Next Example
168
9f31265bb40b592b1929e18a47ab28e5.gif
Nested Constructs
170
9f31265bb40b592b1929e18a47ab28e5.gif
Exit For/Exit Do
170
9f31265bb40b592b1929e18a47ab28e5.gif
Exit Sub/Exit Function
170
9f31265bb40b592b1929e18a47ab28e5.gif
With . . . End With
171
9f31265bb40b592b1929e18a47ab28e5.gif
Summary
172
9f31265bb40b592b1929e18a47ab28e5.gif
Review Questions/Exercises
172
9
Procedures and Functions
173
9f31265bb40b592b1929e18a47ab28e5.gif
Procedures
174
9f31265bb40b592b1929e18a47ab28e5.gif
Naming Procedures
174
9f31265bb40b592b1929e18a47ab28e5.gif
Event/Subprocedures
174
9f31265bb40b592b1929e18a47ab28e5.gif
Scope of Procedures
175
9f31265bb40b592b1929e18a47ab28e5.gif
Creating a Procedure
175
9f31265bb40b592b1929e18a47ab28e5.gif
Calling Procedures
176
9f31265bb40b592b1929e18a47ab28e5.gif
Sub Main() Procedure
177
9f31265bb40b592b1929e18a47ab28e5.gif
Functions
179
9f31265bb40b592b1929e18a47ab28e5.gif
Creating a Function
180
9f31265bb40b592b1929e18a47ab28e5.gif
Calling Functions
180

 
< previous page page_viii next page >

If you like this book, buy it!